package com.project.restaurant.user.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class LoginParam {

    @ApiModelProperty(value = "账户",required = true)
    @NotEmpty
    private String account;

    @ApiModelProperty(value = "密码",required = true)
    @NotEmpty
    private String password;
//    private String authCode;
}
